Skip to content

Inscoper::InscoperBoxDriverConfig

InscoperBoxDriverConfig class provides information for devices controlled by the device controller. More...

#include <InscoperBoxDriverConfig.h>

Inherits from Inscoper::DriverConfig

Public Functions

Name
InscoperBoxDriverConfig()
Default constructor.
unsigned int getHardwareId() const
Get the device hardware ID.
void setHardwareId(unsigned int hardwareId)
Set the device hardware ID.
const std::vector< Inscoper::ConnectionConfigPtr > & getConnectionConfigList() const
Get the connection configuration list.
void setConnectionConfigList(const std::vector< Inscoper::ConnectionConfigPtr > & connections)
Set the connection configuration list.
void addConnectionConfig(const Inscoper::ConnectionConfigPtr & connection)
Add a connection configuration to the list.

Additional inherited members

Public Functions inherited from Inscoper::DriverConfig

Name
DriverConfig() =default
virtual ~DriverConfig() =default

Detailed Description

class Inscoper::InscoperBoxDriverConfig;

InscoperBoxDriverConfig class provides information for devices controlled by the device controller.

Note: This class is non-copyable and non-movable.

This class handles configuration for a device connected to the controller, including its hardware identifier and list of connection configurations.

Public Functions Documentation

function InscoperBoxDriverConfig

InscoperBoxDriverConfig()

Default constructor.

Initializes a new instance of the InscoperBoxDriverConfig class.

function getHardwareId

unsigned int getHardwareId() const

Get the device hardware ID.

Return: The device hardware ID

Retrieves the unique hardware identifier for the device.

function setHardwareId

void setHardwareId(
    unsigned int hardwareId
)

Set the device hardware ID.

Parameters:

  • hardwareId : The device hardware ID

Sets the unique hardware identifier for the device.

function getConnectionConfigList

const std::vector< Inscoper::ConnectionConfigPtr > & getConnectionConfigList() const

Get the connection configuration list.

Return: The list of connection configurations

Retrieves the list of connection configurations associated with this device.

function setConnectionConfigList

void setConnectionConfigList(
    const std::vector< Inscoper::ConnectionConfigPtr > & connections
)

Set the connection configuration list.

Parameters:

  • connections : The list of connection configurations

Replaces the list of connection configurations associated with this device.

function addConnectionConfig

void addConnectionConfig(
    const Inscoper::ConnectionConfigPtr & connection
)

Add a connection configuration to the list.

Parameters:

  • connection : The connection configuration to add

Appends a new connection configuration to the current list.


Updated on 2026-04-02 at 10:55:36 +0200